public class Flat {
	private Address addr;
	private Address fact_addr;
	private String usage;
	private String cont_matr;
	
	public Flat(Address addr, String usage, String cont_matr) {
		this.setAddr(addr);
		this.setFact_addr(addr);
	}
	
	public Flat(Address addr, Address fact_addr, String usage, String cont_matr) {
		this.setAddr(addr);
		this.setFact_addr(fact_addr);
		this.setUsage(usage);
		this.setCont_matr(cont_matr);
	}
	
	public void setAddr(Address addr){
		this.addr = (Address) addr.clone();
	}
	
	public void setFact_addr(Address addr) {
		this.fact_addr = (Address) addr.clone();
	}
	
	// Da modificare
	public void setUsage(String usage) {
		this.usage = usage;
	}
	
	// Da modificare
	public void setCont_matr(String cont_matr) {
		this.cont_matr = cont_matr;
	}
}